package com.mall4j.cloud.product.dto;

import io.swagger.annotations.ApiModelProperty;

/**
 * 分类
 *
 * @author JCM
 * @date 2021-04-21 23:19:00
 */
public class CategoryDTO {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    private Long categoryId;

    @ApiModelProperty("店铺ID 0为全局热搜")
    private Long shopId;

    @ApiModelProperty("父ID")
    private Long parentId;


    @ApiModelProperty("分类名称")
    private String name;

    @ApiModelProperty("分类描述")
    private String desc;


    @ApiModelProperty("分类地址")
    private String path;

    @ApiModelProperty("状态 0下线 1上线")
    private Integer status;


    @ApiModelProperty("分类图标")
    private String icon;


    @ApiModelProperty("分类的显示图片")
    private String imgUrl;


    @ApiModelProperty("分类层级 从0开始")
    private Integer level;


    @ApiModelProperty("排序")
    private Integer seq;

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getSeq() {
        return seq;
    }

    public void setSeq(Integer seq) {
        this.seq = seq;
    }

    @Override
    public String toString() {
        return "Category{" +
                "categoryId=" + categoryId +
                ", shopId=" + shopId +
                ", parentId=" + parentId +
                ", name='" + name + '\'' +
                ", desc='" + desc + '\'' +
                ", path='" + path + '\'' +
                ", status=" + status +
                ", icon='" + icon + '\'' +
                ", imgUrl='" + imgUrl + '\'' +
                ", level=" + level +
                ", seq=" + seq +
                '}';
    }
}
